package com.itheima.dao;

import com.itheima.domain.Order;
import com.itheima.domain.Traveller;
import org.apache.ibatis.annotations.Param;

import com.itheima.domain.Member;
import java.util.List;
import java.util.Map;

public interface OrderDao {
    List<Map> findAll();

    Map findById(@Param("id") String id, @Param("pId") String pId);

    void deleteByCheckInOP(String[] ids);

    void deleteByCheck(String[] ids);

    List<Traveller> findTraveller(String id);

    Member findMember(String memberId);

    void updateStatus(@Param("id") String id, @Param("orderStatus") String orderStatus);
}
